package cn.java76.springboot.demo1.entity;

public class OAbout {
    private long id;
    private String content;//内容
    private  String logo;//图片
    private String url;
    private String cname;

    public OAbout() {
    }

    public OAbout(String content, String logo, String url, String cname) {
        this.content = content;
        this.logo = logo;
        this.url = url;
        this.cname = cname;
    }

    public OAbout(long id, String content, String logo, String url, String cname) {
        this.id = id;
        this.content = content;
        this.logo = logo;
        this.url = url;
        this.cname = cname;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    @Override
    public String toString() {
        return "OAbout{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", logo='" + logo + '\'' +
                ", url='" + url + '\'' +
                ", cname='" + cname + '\'' +
                '}';
    }
}
